package com.bunnyhsu.mapper;

import com.bunnyhsu.model.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by xl on 2018/4/12.
 */
@Repository
public interface AdminMapper {
    Admin selectAdmin (@Param("id") String id);
    void updateAdminToken(@Param("access_token")String access_token, @Param("id") String id);
    Admin selectAdminByToken(@Param("access_token")String access_token);
}
